package com.ss.whisper2.pojo.entity;

import org.apache.ibatis.type.Alias;
import org.apache.ibatis.type.TypeAliasRegistry;

import java.io.Serializable;
import java.util.Date;
@Alias("Article")
public class Article implements Serializable {
	private Integer articleId;
	private String title;
	private String content;
	private Date date;

	public Integer getArticleId() {
		return articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Article{" +
				"articleId=" + articleId +
				", title='" + title + '\'' +
				", content='" + content + '\'' +
				", date=" + date +
				'}';
	}
}
